offset=1000
datanum=100
for (( i=0; i<10; i++ ))
do
    let "tmp=$offset+$i*$datanum"
    java -cp zookeeper-3.3.3.jar:test.jar:lib/log4j-1.2.15.jar org.apache.zookeeper.test.GenerateData application1 $datanum 100 $tmp &
done
